(jka-compr-compression-info-list): Recognize backups of bz2 compressed files.
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Feb 2007 12:30:09 +0000 (12:30 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Feb 2007 12:30:09 +0000 (12:30 +0000)
lisp/jka-cmpr-hook.el

index ce00181aaa3699fb24cd708e3217af7477354a89..b13ca7181ec3bbb65ee1700c60dd3184d19354d6 100644 (file)
@@ -191,7 +191,7 @@ options through Custom does this automatically."
      ;; Formerly, these had an additional arg "-c", but that fails with
      ;; "Version 0.1pl2, 29-Aug-97." (RedHat 5.1 GNU/Linux) and
      ;; "Version 0.9.0b, 9-Sept-98".
-    ["\\.bz2\\'"
+    ["\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'"
      "bzip2ing"        "bzip2"         nil
      "bunzip2ing"      "bzip2"         ("-d")
      nil t "BZh"]